home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr52 / rntx.zip / REINDEX.DOC next >
Text File  |  1993-04-01  |  2KB  |  35 lines

  1.  
  2.  REINDEX.EXE
  3.  By Reg Moseley, Copyright (c) 1990 Regmo Systems, All rights reserved.
  4.  
  5.  You'll see fancier index programs than this, but this one gets the job done
  6.  quickly and has the added flexibility to be used in a batch file (by setting
  7.  ERRORLEVEL on exit) and is network-aware ( but file are opened exclusively 
  8.  during indexing ). REINDEX will read a standard ASCII text file for input
  9.  and parse each line into the database filename to be indexed, the index file
  10.  name to be created/replaced, and the index key expression used to determine
  11.  the key values. REINDEX expects the number sign '#' to be used as an inline
  12.  delimiter, but you can change it at anytime. I won't repeat the instructions
  13.  because you can read them yourself by entering REINDEX ? at the DOS prompt.
  14.  
  15.  REINDEX is written in 100% Clipper Summer '87 source code - no ASM or C!
  16.  I've included the source code for your inspection. Improve it if you so
  17.  desire and leave me a note CompuServe 72301,1121 as to where the new and
  18.  improved source code has been uploaded. I think a menu-driven front end
  19.  with list-boxes would introduce unecessary complexity and reduce the speed
  20.  of the program. The text file provides a simple repository for a user's
  21.  data filenames, index filenames, and index key expressions. The text is no
  22.  problem for a power user to update, and a less knowledgable user could be
  23.  walked-thru an update on the phone with EDLIN (ugh!) if necessary. It's a
  24.  simple tool designed to create and update NTX indexes with little hassle.
  25.  
  26.  Some the code may prove interesting to new Clipper programs who are just
  27.  getting their feet wet. Rick Spence originally wrote the buffered low-level
  28.  file functions ( e.g. BOPEN() ), and the parsing routine was the brainchild
  29.  of Steve Straley ( see PARSELINE() ). I'm not looking for money for this
  30.  program, nor have I the time to support it. With the source code, you can
  31.  debug, modify, tailor, and enhance until your heart is content...have fun!
  32.  
  33.                                                            Reggie
  34.  
  35.